-- Prefan Access Controller
-- Restart Server Plugin

if not SERVER then return end

function PAC.Restart( owner, map )

	game.ConsoleCommand( "changelevel " .. map or "gm_flatgrass" .. "\n" )
	
end
PAC.AddChatCommand( "changelevel", "STRING", "superadmin", PAC.Restart )

PAC.AddPlugin( "Change Map", "Changes the map!", "Prefanatic" )
